package com.luguangtao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @类名: com.luguangtao
 * @作者: lgt
 * @创建时间: 2019-12-18 08:47
 * @描述:建一个客户端子工程
 **/
@RestController
@SpringBootApplication
public class ClientApp {
    public static void main(String[] args) {
        SpringApplication.run(ClientApp.class);
    }

    //检查客户端是否健康
    @RequestMapping("testHealth")
    public String testHealth(){
        System.out.println("客户端健康");
        return "client--->ok";
    }
}
